package org.car.world.core.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.car.world.core.entily.UserTable;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserTableMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserTable record);

    UserTable selectByPrimaryKey(Integer userId);

    List<UserTable> selectAll();

    int updateByPrimaryKey(UserTable record);

    UserTable phoneLogin(String phone);

    UserTable codeLogin(String code);

    List<UserTable> selectLimit(@Param("form") Integer form, @Param("size") Integer size);

    int selectcount();

}